package cn.topcodes.tcsf.wechat.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;

import javax.persistence.Table;

/**
 * 语音素材
 * @author xw
 * @date 2017-12-22 15:03
 */
@Data
@Table(name = "t_wechat_voice")
public class WechatVoice extends IdEntity {

    public static final String FIELD_NAME = "name";

    public static final String FIELD_MEDIA_ID = "mediaId";

    public static final String FIELD_URL = "url";

    public static final String FIELD_WECHAT_MP_ID = "wechatMpId";

    /**
     * 标题
     */
    private String title;

    /**
     * 素材id
     */
    private String mediaId;

    /**
     * 地址
     */
    private String url;

    /**
     * 时长
     */
    private String length;

    /**
     * 公众号id
     */
    private Long wechatMpId;
}
